package net.dgg.iboss.sc.backservice.task.dao.credential;

import net.dgg.iboss.sc.backservice.task.entity.credentail.CertificateSpecialty;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface StorageCapacityDao {

    /**
     * 批量修改在库可用量
     *
     * @param allCertificateSpecialties
     */
    void batchUpdatelibraryNumbers(@Param("allCertificateSpecialties") List<CertificateSpecialty> allCertificateSpecialties);

    /**
     * 批量增加库容
     * @param allCertificateSpecialties
     */
    void batchAddlibraryNumbers(@Param("allCertificateSpecialties") List<CertificateSpecialty> allCertificateSpecialties);
}